package top.healthylife.gateway.platform.softwind.dto.basedto.res;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.request.result.ApiResultDto;

import java.util.List;
import java.util.Map;

/**
 * @author : GaoZeXi
 * @date 2021/8/4 12:04
 */
@Data
@Accessors(chain = true)
@ApiModel("微风企出参基类")
public class SoftWindResBaseDto<T> extends ApiResultDto {

    @ApiModelProperty(value = "结果集" , example = ""  )
    private List<T> result;

    @ApiModelProperty(value = "总条数" , example = "1000"  )
    private String total;

    @ApiModelProperty(value = "明细总条数" , example = "1000"  )
    private String detailsTotal;

    @ApiModelProperty(value = "拓展字段" , example = "" )
    private Map expand;

    @ApiModelProperty(value = "总页数" , example = "50")
    private Integer totalPages;

    @ApiModelProperty(value = "每页数量" , example = "20")
    private Integer pageSize;

    @ApiModelProperty(value = "当前页" , example = "1")
    private Integer pageNum;
}
